import Vue from 'vue'
import Router from 'vue-router'
import Hello from '@/components/Hello'
import Upload from '@/container/upload'
import NowDownload from '@/container/nowDownload'
import ApiBack from '@/container/apiBack'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: Upload
    },
    {
      path: '/upload',
      name: 'Upload',
      component: Upload
    },
    {
      path: '/nowDownload',
      name: 'NowDownload',
      component: NowDownload
    },
    {
      path: '/apiBack',
      name: 'ApiBack',
      component: ApiBack
    }
  ]
})
